package com.example.demo.service;

import java.util.ArrayList;
import java.util.List;

import com.example.demo.dto.Blog;

import org.springframework.stereotype.Service;

@Service
public class BlogService {
  public ArrayList getBlogList(){
    ArrayList list = new ArrayList<Blog>();

    Blog blog = new Blog();
    blog.setId("123");
    blog.setTitle("hello blog");

    list.add(blog);
    return list;
  }
  
}